package com.tvunetworks.center.user.mapper;

import com.tvunetworks.center.user.model.UserSFAccountRelation;
import com.tvunetworks.center.user.model.vo.UserIdWithEmail;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
/**
 * @program:
 * @description:
 * @author HenryChen
 * @create: 5/29/2019 12:17 PM
 **/
public interface UserSFAccountRelationMapper extends Mapper<UserSFAccountRelation> {

    /**
     * 和SFAccount有绑定关系的User
     * @param accountId accountId
     * @param email email
     * @return List
     */
    List<UserIdWithEmail> listBindedSFAccountUser(@Param("accountId") String accountId, @Param("email") String email);

}
